package com.translate.web.param;
import java.math.BigDecimal;
import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;
import com.translate.web.constant.ValidateCondtionAndMessage;
import com.translate.web.param.contract.ICommissionManagementDetailAddParam;
public class CommissionManagementDetailAddParam implements ICommissionManagementDetailAddParam {// 佣金id
@NotNull
@Min(value = ValidateCondtionAndMessage.MIN_ID, message = ValidateCondtionAndMessage.MIN_ID_MSG)
private Integer commissionId;
// 用户id
@NotNull
@Min(value = ValidateCondtionAndMessage.MIN_ID, message = ValidateCondtionAndMessage.MIN_ID_MSG)
private Integer userId;
// 明细
@NotNull
@Pattern(regexp = ValidateCondtionAndMessage.CHINESE_ENGLISH_NUMBER_UNDERLINE_BY_SERIESDESCRIPTION, message = ValidateCondtionAndMessage.CHINESE_ENGLISH_NUMBER_UNDERLINE_BY_SERIESDESCRIPTION_MSG)
private String description;
// 变动金额

private BigDecimal monry;
// 类型 0 支出 1 收入
@NotNull
@Min(value = ValidateCondtionAndMessage.MIN_STATUS, message = ValidateCondtionAndMessage.MIN_STATUS_MSG)
@Max(value = ValidateCondtionAndMessage.MAX_STATUS, message = ValidateCondtionAndMessage.MAX_STATUS_MSG)
private Byte type;



public Integer getCommissionId() {
        return commissionId;
    }
public void setCommissionId(Integer commissionId) {
        this.commissionId = commissionId;
    }
public Integer getUserId() {
        return userId;
    }
public void setUserId(Integer userId) {
        this.userId = userId;
    }
public String getDescription() {
        return description;
    }
public void setDescription(String description) {
        this.description = description == null ? null : description.trim();
    }
public BigDecimal getMonry() {
        return monry;
    }
public void setMonry(BigDecimal monry) {
        this.monry = monry;
    }
public Byte getType() {
        return type;
    }
public void setType(Byte type) {
        this.type = type;
    }




}